package top.zuli.package01.class16;

import org.junit.Test;

import java.time.LocalDateTime;
import java.time.Month;

public class Demo7 {
    @Test
    public void MonthTest(){
        //创建日期
        LocalDateTime localDateTime = LocalDateTime.of(2012, Month.JANUARY,1,1,1,1);
        System.out.println(localDateTime);
    }
}

/*
public class Demo7 {
    @Test
    public void MonthTest(){
        LocalDateTime localDateTime = LocalDateTime.of(2012, Month.JANUARY,1,1,1,1);
        System.out.println(localDateTime);
    }
}
*/
